﻿namespace Creek.UI.EFML.UI_Elements.EventProviders
{
    using System.Xml;

    using Creek.UI.EFML.Base;

    public class CheckBoxEventProvider : EventProvider
    {
        #region Public Methods and Operators

        public override void Resolve(UiElement e, XmlNode markupTag)
        {
            if (markupTag.HasAttribute("oncheckedchanged"))
            {
                e.Events["oncheckedchanged"] = markupTag.GetAttributeByName("oncheckedchanged");
            }
        }

        #endregion
    }
}